/**
 * 
 */
package com.ims.stocks.service.employee;

import com.ims.common.service.BaseServiceImpl;
import com.ims.stocks.dao.employee.EmployeeDAO;
import com.ims.stocks.dao.product.ProductDAO;
import com.ims.stocks.dao.user.UserDAO;
import com.ims.stocks.model.Employee;

/**
 * @author Achal B.I
 *
 */
public class EmployeeServiceImpl extends BaseServiceImpl implements
		EmployeeService {

	public EmployeeDAO employeeDAO;
	
	/* (non-Javadoc)
	 * @see com.ims.common.service.BaseServiceImpl#getServiceDAO()
	 */
	@Override
	public EmployeeDAO getServiceDAO() {
		
		return (EmployeeDAO) getBaseDAO();
	}

	/**
	 * @return the employeeDAO
	 */
	public EmployeeDAO getEmployeeDAO() {
		return employeeDAO;
	}

	/**
	 * @param employeeDAO the employeeDAO to set
	 */
	public void setEmployeeDAO(EmployeeDAO employeeDAO) {
		this.employeeDAO = employeeDAO;
	}

	@Override
	public void txSaveOrUpdate(Employee emp) {
		
		 employeeDAO.txSaveOrUpdate(emp);
		
	}


}
